package controllers

import (
	"github.com/astaxie/beego"
	"fmt"
)

type DemoController struct {
	beego.Controller
}

func (this *DemoController) GetDemo() {
	fmt.Println("this is in GetDemo Method")
	this.Ctx.WriteString("this is in GetDemo Method")
}

func (this *DemoController) PostDemo() {
	fmt.Println("this is in PostDemo Method")
	this.Ctx.WriteString("this is in PostDemo Method")

}

func (this *DemoController) DoDemo()  {
	fmt.Println("this is in DoDemo Method")
	this.Ctx.WriteString("this is in DoDemo Method")

}
